/*
 * 
 * Description: Office COMAddins Connector constants definition
 */
#ifndef OCC_CONSTANT_H
#define OCC_CONSTANT_H

#include <set>
#include <string>

namespace CONSTANT {
const std::string TEXT_WORD = "Word";
const std::string TEXT_EXCEL = "Excel";
const std::string TEXT_POWERPOINT = "PowerPoint";
const std::string TEXT_DEFAULT = "-";
const std::set<std::string> SUPPORTED_ARGS = { TEXT_WORD, TEXT_EXCEL, TEXT_POWERPOINT };

constexpr const char *TEXT_WORD_MAIN_WND = "OpusApp";
constexpr const char *TEXT_EXCEL_MAIN_WND = "XLMAIN";
constexpr const char *TEXT_POWERPOINT_MAIN_WND = "PPTFrameClass";
constexpr const char *TEXT_WORD_WINDOW_WND = "_WwG";
constexpr const char *TEXT_EXCEL_WINDOW_WND = "EXCEL7";
constexpr const char *TEXT_POWERPOINT_WINDOW_WND = "paneClassDC";
constexpr const char *TEXT_POWERPOINT_PROGID = "PowerPoint.Application";

constexpr const uint64_t TIME_UNIT_MILLI_PER_SECOND = 1000;
constexpr const uint64_t MAX_WAIT_MILLI_SECONDS = 300 * TIME_UNIT_MILLI_PER_SECOND;
}

#endif  // !OCC_CONSTANT_H